package com.icloud.wallet.boot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.icloud.wallet.boot.model.TWithdrawOrderItems;
import com.icloud.wallet.boot.dto.WithdrawOrderPageDto;
import com.icloud.wallet.boot.vo.WithdrawOrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TWithdrawOrderItemMapper extends BaseMapper<TWithdrawOrderItems> {

    Long countAll(@Param("dto") WithdrawOrderPageDto dto);

    IPage<WithdrawOrderVO> findAll(IPage<WithdrawOrderVO> page, @Param("dto") WithdrawOrderPageDto dto);

    List<WithdrawOrderVO> findAll(@Param("dto") WithdrawOrderPageDto dto);
}
